import axios from 'axios';

console.log();
const service = axios.create({
  baseURL: process.env.VUE_APP_BASE_API,
  timeout: 3000,
});

// 响应拦截
service.interceptors.response.use(
  (config) => {
    return config;
  },
  (err) => {
    Promise.reject(err);
  }
);

export default service;
